package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbUserFriend;
import com.quanyan.user.model.db.TbUserFriendExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserFriendMapper {
    int countByExample(TbUserFriendExample example);

    int deleteByExample(TbUserFriendExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserFriend record);

    int insertSelective(TbUserFriend record);

    List<TbUserFriend> selectByExample(TbUserFriendExample example);

    TbUserFriend selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserFriend record, @Param("example") TbUserFriendExample example);

    int updateByExample(@Param("record") TbUserFriend record, @Param("example") TbUserFriendExample example);

    int updateByPrimaryKeySelective(TbUserFriend record);

    int updateByPrimaryKey(TbUserFriend record);
}